#pragma once
#include "Component.h"
#include "Geometry.h"
#include "EventManager.h"
class TransformComponent : public BaseActorComponent
{
public:
	TransformComponent() {}
	~TransformComponent () {
	}
	Mat4x4 m_ToWorld;

	Mat4x4 m_FromWorld;

	virtual void Translate(const Vec3 & dir); // translate -> adds to current positon
	virtual const ComponentType & VGetComponentType()
	{
		return m_ComponentType;
	}
	virtual const ComponentType & VGetBaseComponentType()
	{
		return m_BaseComponentType;
	}
	static const ComponentType m_ComponentType;
	static const ComponentType m_BaseComponentType;
};